"""
Copyright (C)2010 Humanetrix Foundation, Inc.

This file is a part of the GROUP MATCH PYTHON. GROUP MATCH PYTHON is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses>.

About this Project
------------------
GROUP MATCH PYTHON was the outcome of Dev Derby (http://devderby.com), held in Bloomington, Indiana on September 11, 2010. The challenge was to build a system to allow groups to offer services to non-profits and manage feedback on prior volunteer efforts, initiating the flow of quality human resources to the organizations that need them. This had to be done in one six-hour session.

Five teams representing different programming languages competed in this first event. Team Python includes:

	Charles Brandt, Team Lead 
	Rajesh Gollapudi 
	Vijay Lulla 
	Josh Dolitsky

Questions or comments should be directed to info@devderby.com.
"""

import datetime
from google.appengine.ext import db
from google.appengine.api import users
from google.appengine.ext.db import polymodel


class Skill(db.Model):
    name = db.StringProperty(required=True)


def add_skills_to_database():
  skills = """
None, Advocacy, Animal Services, Arts / Culture / Performance,
Boards / Committees, Cleaning, Computers / Internet,
Counseling / Information Support, Finance / Accounting / Tax Prep,
Food Delivery / Sorting, Fundraising / Grant Development,
Office / Admin, Graphic Design, Health / First Aid / CPR,
Landscaping, Language Translation / Interpretation / Instruction,
Leadership Development, Legal Services, Marketing / Public Relations,
Medical Professional, Cooking / Meal Preparation, Painting, 
Photography, Production (Radio / TV), Public Speaking,
Recreational Activities / Sports, Research / Evaluation,
Teaching / Tutoring, Tour Guide / Docent, Writing / Editing
"""
  skill_list = skills.replace("\n", "").split(",")
  for skill in skills:
    s = Skill(name=skill)
    db.put(s)

